//
//  BBSUser.h
//  BlackBambooCM-OC
//
//  Created by DKang on 2018/12/14.
//  Copyright © 2018年 ucanmax. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BBSUser : NSObject
+ (instancetype)sharedInstance;
/**
 用户Token
 */
@property (retain, nonatomic) NSString *userToken;

/**
 用户是否登录

 @return yes/no
 */
- (BOOL)hasLogin;
- (void) loginWith:(NSString *)name password:(NSString *)password captcha:(NSString *)captcha success:(void (^)(id responseObject))success failure:(void (^)(NSString *error))failure;
@end

NS_ASSUME_NONNULL_END
